#define _CRT_SECURE_NO_WARNINGS 1
#include "SList.h"

void test1()
{
	SLTNode* s = NULL;
	SLTPushFront(&s, 1);
	SLTPushFront(&s, 2);
	SLTPushFront(&s, 3);
	SLTPushFront(&s, 4);
	SLTPrint(s);
	/*SLTPushBack(s, 5);
	SLTPrint(s);

	SLPopBack(&s);
	SLTPrint(s);
	SLPopFront(&s);
	SLTPrint(s);*/
	SLTNode* ret = SLTFind(s, 3);
	ret->data = 30;
	SLTPrint(s);
}

int main()
{
	test1();
	return 0;
}